home *** CD-ROM | disk | FTP | other *** search
- on ctrlbar
-
- global gbackground,gschedule,gproduct,gcontact,gexit,sectionactive
- global cbackground,cschedule,cproduct,ccontact,cexit,voodoochild
- global turnoffpoint
-
- if gbackground <> sectionactive and rollover (gbackground) then
- set the visible of sprite gbackground to true
- set the visible of sprite sectionactive to false
- updatestage
- else
- if gbackground <> sectionactive then
- set the visible of sprite gbackground to false
- updatestage
- end if
- end if
-
- if gschedule <> sectionactive and rollover (gschedule) then
- set the visible of sprite gschedule to true
- set the visible of sprite sectionactive to false
- updatestage
- else
- if gschedule <> sectionactive then
- set the visible of sprite gschedule to false
- updatestage
- end if
- end if
-
- if gproduct <> sectionactive and rollover (gproduct) then
- set the visible of sprite gproduct to true
- set the visible of sprite sectionactive to false
- updatestage
- else
- if gproduct <> sectionactive then
- set the visible of sprite gproduct to false
- updatestage
- end if
- end if
-
- if gcontact <> sectionactive and rollover (gcontact) then
- set the visible of sprite gcontact to true
- set the visible of sprite sectionactive to false
- updatestage
- else
- if gcontact <> sectionactive then
- set the visible of sprite gcontact to false
- updatestage
- end if
- end if
-
- if gexit <> sectionactive and rollover (gexit) then
- set the visible of sprite gexit to true
- set the visible of sprite sectionactive to false
- updatestage
- else
- if gexit <> sectionactive then
- set the visible of sprite gexit to false
- updatestage
- end if
- end if
-
- if the mouseV > turnoffpoint then
- set the visible of sprite sectionactive to true
- updatestage
- end if
-
- if rollover (sectionactive) then
- set the visible of sprite sectionactive to true
- updatestage
- end if
-
- end ctrlbar